package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.common.core.domain.zzw.TEmphasisPeople;
import com.ruoyi.system.domain.vo.CountVO;
import com.ruoyi.system.domain.vo.DisposeStatusVO;
import com.ruoyi.system.domain.vo.WarningLevelVO;

import java.util.List;

/**
 * 重点人员Mapper接口
 *
 * @author ruoyi
 * @date 2023-11-15
 */
public interface TEmphasisPeopleMapper extends BaseMapper<TEmphasisPeople>
{
    /**
     * 查询重点人员
     *
     * @param cPeopleId 重点人员主键
     * @return 重点人员
     */
    public TEmphasisPeople selectTEmphasisPeopleByCPeopleId(Long cPeopleId);

    /**
     * 查询重点人员列表
     *
     * @param tEmphasisPeople 重点人员
     * @return 重点人员集合
     */
    public List<TEmphasisPeople> selectTEmphasisPeopleList(TEmphasisPeople tEmphasisPeople);

    /**
     * 新增重点人员
     *
     * @param tEmphasisPeople 重点人员
     * @return 结果
     */
    public int insertTEmphasisPeople(TEmphasisPeople tEmphasisPeople);

    /**
     * 修改重点人员
     *
     * @param tEmphasisPeople 重点人员
     * @return 结果
     */
    public int updateTEmphasisPeople(TEmphasisPeople tEmphasisPeople);

    /**
     * 删除重点人员
     *
     * @param cPeopleId 重点人员主键
     * @return 结果
     */
    public int deleteTEmphasisPeopleByCPeopleId(Long cPeopleId);

    /**
     * 批量删除重点人员
     *
     * @param cPeopleIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTEmphasisPeopleByCPeopleIds(Long[] cPeopleIds);

    List<CountVO> groupByHighTag();


    DisposeStatusVO disposeCount();

    WarningLevelVO waringLevelCount();

}
